package com.zh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zh.domain.dto.message.MessageQueryRequest;
import com.zh.domain.dto.message.MessageReadRequest;
import com.zh.domain.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.domain.vo.message.MessageVo;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【messages(消息表)】的数据库操作Service
 * @createDate 2025-02-09 16:24:10
 */
public interface MessageService extends IService<Message> {
    String sendMessage(Message message, List<Integer> receiveIds);

    Page<MessageVo> pageMessages(MessageQueryRequest messageQueryRequest);

    boolean read(MessageReadRequest messageReadRequest);
}
